<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<% String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/"; %> 
<html>
<jsp:include page="../head.jsp"></jsp:include>
<body>
<jsp:include page="Left.jsp"></jsp:include>
<br/><br/><br/>
<a href='TbProjectServlet?method=showadd'><img src="./images/button-add.gif" border="0"/></a><br/>
<table>
<tr>
    <td>项目编号</td>
    <td>项目名称</td>
    <td>项目开始时间</td>
    <td>项目结束(完工)时间</td>
    <td>项目验收时间</td>
    <td>所属合同</td>
    <td>项目负责人</td>
    <td>所属临时项目组</td>
    <td>修改</td>
    <td>删除</td>
</tr>
<c:forEach items="${sessionScope.tbProjectList==null?'':sessionScope.tbProjectList}" var="tbProject" varStatus="status">
<tr>
    <td>${tbProject.projectCode}</td>
    <td>${tbProject.projectName}</td>
    <td>${tbProject.projectStartTime}</td>
    <td>${tbProject.projectEndTime}</td>
    <td>${tbProject.projectAcceptanceTime}</td>
    <td>${tbProject.tbContract.contractName}</td>
    <td>${tbProject.projectManager}</td>
    <td>${tbProject.tbTempProjectGroup.tempProjectGroupName}</td>
    <td><a href='TbProjectServlet?method=listById&projectId=${tbProject.projectId}'>修改</a></td>
    <td><a href='TbProjectServlet?method=del&delIds=${tbProject.projectId}'>删除</a></td>
</tr>
</c:forEach>
</table>
<jsp:include page="../foot.jsp"></jsp:include>
</body>
</html>